package com.example.tse.rbhttpservice.service.shopping.model;

/**
* 更改购物车中某商品数量，已选中的商品在每次更改数量之后都需要重新计算关税小计和总计价格
* @author wliu
*  edit   tse
*/
public abstract class ShoppingChangeRequest {


public  ShoppingChangeRequest() {
objIdent=giveObjIdent();
quantity=giveQuantity();
areaId=giveAreaId();
isFastBuy=giveIsFastBuy();
couponId=giveCouponId();
}


//购物车ID
private String objIdent = "";

//数量
private String quantity = "";

//当前商品所在的仓库ID
private String areaId = "";

//是否快速购买，0否1是，团购商品和秒杀商品都是1，默认0
private String isFastBuy = "";

//优惠券ID
private String couponId = "";

/**
* 购物车ID
* @return objIdent
*/
public String getObjIdent() {
return this.objIdent;
}

/**
* 购物车ID
* @return objIdent
*/
public void setObjIdent(String objIdent) {
this.objIdent = objIdent;
}


public abstract String giveObjIdent();

/**
* 数量
* @return quantity
*/
public String getQuantity() {
return this.quantity;
}

/**
* 数量
* @return quantity
*/
public void setQuantity(String quantity) {
this.quantity = quantity;
}


public abstract String giveQuantity();

/**
* 当前商品所在的仓库ID
* @return areaId
*/
public String getAreaId() {
return this.areaId;
}

/**
* 当前商品所在的仓库ID
* @return areaId
*/
public void setAreaId(String areaId) {
this.areaId = areaId;
}


public abstract String giveAreaId();

/**
* 是否快速购买，0否1是，团购商品和秒杀商品都是1，默认0
* @return isFastBuy
*/
public String getIsFastBuy() {
return this.isFastBuy;
}

/**
* 是否快速购买，0否1是，团购商品和秒杀商品都是1，默认0
* @return isFastBuy
*/
public void setIsFastBuy(String isFastBuy) {
this.isFastBuy = isFastBuy;
}


public abstract String giveIsFastBuy();

/**
* 优惠券ID
* @return couponId
*/
public String getCouponId() {
return this.couponId;
}

/**
* 优惠券ID
* @return couponId
*/
public void setCouponId(String couponId) {
this.couponId = couponId;
}


public abstract String giveCouponId();

}
